//
//  YGMapView.h
//  map
//
//  Created by 黄德玉 on 2017/2/15.
//  Copyright © 2017年 黄德玉. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MAMapKit.framework/Headers/MAMapKit.h"
#import "AMapSearchKit.framework/Headers/AMapSearchKit.h"


@protocol YGMapViewDelegate <NSObject>

@required
-(void)centerChangedWithLocation:(CLLocationCoordinate2D) location;

@end

@interface YGMapView : UIView
@property(nonatomic,weak) id<YGMapViewDelegate> delegate;
@end
